using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using LS.Event;

namespace LS.Saving
{
    /// <summary>
    /// 开始存档加载事件
    /// </summary>
    public class BeginLoadDatabaseEventArgs : LSGameEventArgs<BeginLoadDatabaseEventArgs>
    {
        public string GroupName { get; set; }
        
        public IDataFile File { get; set; }
        
        public Database Database { get; set; }

        public override void Clear()
        {
            GroupName = null;
            File = null;
            Database = null;
            base.Clear();
        }
    }
}
